package com.distributer.delayqueue.delayqueue.support;


public interface DistributedLock{

	public boolean lock(String key);

	public boolean tryLock(String key);

	public boolean tryLock(String key,long timeOut);

	public void unlock(String key);

}
